package com.itheima.mapper;


import com.itheima.domain.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    //登录功能
    User findEmailAndPwd(@Param("email") String email, @Param("pwd")String password)throws Exception;

    List<User> findAll(Integer pageNum,Integer pageSize)throws Exception;
}
